-
Home
-
Custom post types for WordPress – ACPT Lite
-
1.0.15
-
Code
-
Classes
- ACPT_Lite_DB
Total Complexity |
42 |
Dependencies |
9 |
Dependents |
12 |
Total lines |
493 |
Lines of code |
274 |
Logical lines of code |
99 |
Comment lines |
120 |
Methods |
21 |
Properties |
2 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
createCustomPostTypes() |
S |
45 |
5 |
39 |
createCustomTaxonomies() |
S |
42 |
4 |
53 |
createNativeTaxonomies() |
S |
48 |
4 |
36 |
isACustomPostType() |
S |
53 |
3 |
26 |
checkIfColumnExistsInTable() |
S |
62 |
3 |
11 |
createNativePostTypes() |
S |
53 |
1 |
26 |
destroySchema() |
S |
69 |
2 |
7 |
createSchema() |
S |
69 |
2 |
7 |
checkIfSchemaExists() |
S |
64 |
2 |
10 |
getDbConn() |
S |
65 |
2 |
9 |
executeQueryOrThrowException() |
S |
69 |
2 |
6 |
prepare() |
S |
71 |
2 |
5 |
getInstance() |
S |
69 |
2 |
7 |
sync() |
S |
73 |
1 |
6 |
initConnection() |
S |
69 |
1 |
6 |
startTransaction() |
S |
80 |
1 |
3 |
rollbackTransaction() |
S |
80 |
1 |
3 |
commitTransaction() |
S |
80 |
1 |
3 |
getResults() |
S |
75 |
1 |
4 |
prefix() |
S |
77 |
1 |
4 |
prefixedTableName() |
S |
79 |
1 |
3 |